package org.jeecg.modules.goldentry.service;

import java.util.List;

import org.jeecg.modules.goldentry.entity.GoldEntry;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description:  金出入库
 * @Author: jerryzhu
 * @Date:   2021-11-15
 * @Version: V1.0
 */
public interface IGoldEntryService extends IService<GoldEntry> {
	
	/**查询金出入库明细分页*/
	IPage<GoldEntry> selectGoldEntryPage(Page<GoldEntry> page, QueryWrapper<GoldEntry> queryWrapper);

	/**查询仓库库存数据列表，不分页*/
	List<GoldEntry> getGoldEntryStorageSummaryList(String storageId);
	
	/**查询员工库存数据列表，不分页*/
	List<GoldEntry> getGoldEntryPersonSummaryList(String userName);

	/**获取仓库名字*/
	String getStorageName(String id);
}
